﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Example07.aspx.cs" Inherits="Chapter13.Example07" %>

<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>代码清单 13-7 使用 number 型 input 元素</title>
    <meta name="author" content="Adam Freeman" />
    <meta name="description" content="A simple example" />
    <link rel="shortcut icon" href="Example01.Favicon.ico" type="image/x-ico" />
</head>
<body>
    <form>
        <p>
            <label for="name">Name:</label>
            <input id="name" name="name" value="Adam" />
        </p>
        <p>
            <label for="password">Password:</label>
            <input type="password" placeholder="Min 6 characters" id="password" name="password" />
        </p>
        <p>
            <label for="fave">Fruit:</label>
            <input id="face" name="fave" />
        </p>
        <p>
            <label for="price">$ per unit in your area:</label>
            <input type="number" step="1" min="0" max="100" value="1" id="price" name="price" />
        </p>
        <input type="submit" value="Submit Vote" />
    </form>
</body>
</html>
